import { request } from "@/utils/request.js";

/**
 * 获取用户徽章详情
 * @returns {Promise<unknown>}
 */
export const getUserBadgeDetailApi = (userId) => {
    return request({
        url: '/ht-nonrealtime-gameservice/badge/getUserBadgeDetail',
        method: 'POST',
        type: 'application/x-www-form-urlencoded',
        data: {
            userId:userId
        }
    })
}

export const getEnterpriseBadgeDetailApi = () => {
    return request({
        url: '/ht-nonrealtime-gameservice/badge/getEnterpriseBadgeDetail',
        method: 'GET',
    })
}
